<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:if test="${list == null }">
	<script >alert('您没有权限访问,请先登录用户!'); window.location.href='${pageContext.request.contextPath }/Login.jsp';</script>
</c:if>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- 引入 -->
<%@ include file="inc/head.jsp" %>
<title>当前用户信息</title>
</head>
<body>
	
	<!-- 头部 -->
	<%@ include file="inc/head2.jsp" %>
	
	<!-- 购物车 -->
	<%@ include file="inc/shopping.jsp" %>
	
	<!--End Header End-->
	<div class="i_bg bg_color">

		<div class="m_content">
		
		<!-- 左边 -->
		<%@ include file="inc/m_left.jsp" %>

			<div class="m_right" id="content">
				<div class="m_des">
					<table border="0" style="width: 870px; line-height: 22px;"
						cellspacing="0" cellpadding="0">
						<tbody>
							<tr valign="top">
								<td width="115"><img src="${pageContext.request.contextPath }/images/user.jpg" width="90"
									height="90"></td>
								<td>
									<div class="m_user">${list.userName}</div>
									<br>
										<p>
										
											性别: <c:if test="${list.sex == 1 }">男</c:if>
												<c:if test="${list.sex == 0 }">女</c:if><br><br> 邮箱:${list.email}<br><br>
															电话:${list.mobile }<br><br>
										</p>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<!-- 脚部 -->
		<%@ include file="inc/footer.jsp" %>

	</div>
</body>

</html>
